package com.tcd.service;

import com.tcd.explore.pojo.SurveyLossInfo;
import com.tcd.explore.pojo.VerifyLossInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "cloud-CarInsuranceClaims-explore-config")
public interface SurveyLossInfoservice {
    @RequestMapping("/generator/surverystatusedit")
    public boolean SurveyStatusEdit(@RequestBody SurveyLossInfo surveyLossInfo);

    @RequestMapping("/generator/surveryeditstatus")
    public boolean SurveyStatusEditstatus(@RequestParam(value = "sid", required = false) String sid, @RequestParam(value = "status", required = false) String status, @RequestParam(value = "claimid", required = false) String claimid);

    @RequestMapping("/generator/VerifyLossload")
    public List<VerifyLossInfo> verifylist();

    @RequestMapping("/generator/surverycount")
    public int Surcount(@RequestParam(value = "Claimmainid", required = false) String Claimmainid);

   /* @RequestMapping("/generator/surverycount")
    public List<SurveyLossInfo> listsurvery(String claimMainid);*/


}
